package com.tonann.app.mapper;

import java.util.List;
import com.tonann.app.domain.AppGateway;

/**
 * 运行网关Mapper接口
 * 
 * @author kunchan
 * @date 2022-10-09
 */
public interface AppGatewayMapper 
{
    /**
     * 查询运行网关
     * 
     * @param gatewayId 运行网关主键
     * @return 运行网关
     */
    public AppGateway selectAppGatewayByGatewayId(Long gatewayId);

    /**
     * 查询运行网关列表
     * 
     * @param appGateway 运行网关
     * @return 运行网关集合
     */
    public List<AppGateway> selectAppGatewayList(AppGateway appGateway);

    /**
     * 新增运行网关
     * 
     * @param appGateway 运行网关
     * @return 结果
     */
    public int insertAppGateway(AppGateway appGateway);

    /**
     * 修改运行网关
     * 
     * @param appGateway 运行网关
     * @return 结果
     */
    public int updateAppGateway(AppGateway appGateway);

    /**
     * 删除运行网关
     * 
     * @param gatewayId 运行网关主键
     * @return 结果
     */
    public int deleteAppGatewayByGatewayId(Long gatewayId);

    /**
     * 批量删除运行网关
     * 
     * @param gatewayIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppGatewayByGatewayIds(Long[] gatewayIds);

    List<AppGateway> selectAppGatewayListExclude(Long gatewayId);
}
